package com.zhengshang.api.mapper;

import java.util.List;
import com.zhengshang.api.domain.AppBillRefundRecord;

/**
 * 话费退款记录Mapper接口
 * 
 * @author zhengshang
 * @date 2021-06-09
 */
public interface AppBillRefundRecordMapper 
{
    /**
     * 查询话费退款记录
     * 
     * @param recordId 话费退款记录ID
     * @return 话费退款记录
     */
    public AppBillRefundRecord selectAppBillRefundRecordById(Long recordId);

    /**
     * 查询话费退款记录
     *
     * @param orderNum 订单号
     * @return 话费退款记录
     */
    public AppBillRefundRecord selectByOrderNum(String orderNum);

    /**
     * 查询话费退款记录列表
     * 
     * @param appBillRefundRecord 话费退款记录
     * @return 话费退款记录集合
     */
    public List<AppBillRefundRecord> selectAppBillRefundRecordList(AppBillRefundRecord appBillRefundRecord);

    /**
     * 新增话费退款记录
     * 
     * @param appBillRefundRecord 话费退款记录
     * @return 结果
     */
    public int insertAppBillRefundRecord(AppBillRefundRecord appBillRefundRecord);

    /**
     * 修改话费退款记录
     * 
     * @param appBillRefundRecord 话费退款记录
     * @return 结果
     */
    public int updateAppBillRefundRecord(AppBillRefundRecord appBillRefundRecord);

    /**
     * 删除话费退款记录
     * 
     * @param recordId 话费退款记录ID
     * @return 结果
     */
    public int deleteAppBillRefundRecordById(Long recordId);

    /**
     * 批量删除话费退款记录
     * 
     * @param recordIds 需要删除的数据ID
     * @return 结果
     */
    public int deleteAppBillRefundRecordByIds(Long[] recordIds);
}
